<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title> 
  <script src="vue.js"></script>
</head>
<body>
  <div id="app">
    <p>我的评分是{{pingfen}}</p>
    <my-parent pingfen="1.3.0"></my-parent>
  </div>
  <script>
    Vue.component('my-parent',{
      props: ['pingfen'],
      template: '<div>我是父组件{{pingfen}}</div>'
    })
    var vm = new Vue({
      el: '#app',
      data(){
        return{
          pingfen:"13.0"
        }
      }
    })
  </script>
</body>
</html>